<html phptal:tales="php">
  <span tal:define="global foo 0"/>
  <span tal:replace="foo"/>
</html>
